.prompt-selector {
  display: inline-block;
}

.prompt-option {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prompt-name {
  font-weight: 500;
  font-size: 14px;
}

.prompt-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #8c8c8c;
}

.usage-count {
  font-size: 11px;
  color: #999;
}

.prompt-quick-actions {
  margin-left: 8px;
}

.prompt-grid {
  max-height: 500px;
  overflow-y: auto;
}

.prompt-card {
  height: 100%;
  transition: all 0.3s ease;
}

.prompt-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.prompt-card .ant-card-body {
  padding: 16px;
}

.prompt-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.usage-text {
  font-size: 12px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 4px;
}

.prompt-preview-content {
  background-color: #f5f5f5;
  padding: 12px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.6;
  max-height: 200px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .prompt-selector .ant-select {
    width: 200px !important;
  }
  
  .prompt-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  
  .prompt-quick-actions .ant-btn {
    padding: 4px 8px;
  }
}